@extends("admin.layout.main")

@section("content")
    <!--主页面头部信息-->
    <div class="page-header">
        <h1>
            数据概览
        </h1>
    </div>
    <style>
        .infobox {
            text-align: center;
            width: auto;
            height: 100px
        }

        .infobox-data {
            line-height: 40px !important;
        }

        .infobox-data-number {
            text-align: center
        }

        .infobox-content {
            text-align: center;
            margin-top: 10px;
        }
    </style>
    <!-- /.page-header -->
    <div class="row">
        <div class="col-xs-12">
            <div class="infobox infobox-red">
                <div class="infobox-data">
                    <span class="infobox-data-number">{{ $orderData['todayCount'] }}</span>
                    <div class="infobox-content">今日新增订单</div>
                </div>
            </div>
            <div class="infobox infobox-red">
                <div class="infobox-data">
                    <span class="infobox-data-number">{{ $orderData['monthCount'] }}</span>
                    <div class="infobox-content">本月订单数</div>
                </div>
            </div>
            <div class="infobox infobox-red">
                <div class="infobox-data">
                    <span class="infobox-data-number">{{ $orderData['todayCash'] }}</span>
                    <div class="infobox-content">今日订单额</div>
                </div>
            </div>
            <div class="infobox infobox-red">
                <div class="infobox-data">
                    <span class="infobox-data-number">{{ $orderData['monthCash'] }}</span>
                    <div class="infobox-content">本月订单额</div>
                </div>
            </div>
            <div class="infobox infobox-red">
                <div class="infobox-data">
                    <span class="infobox-data-number">{{ $userData['todayCount'] }}</span>
                    <div class="infobox-content">今日新增创客</div>
                </div>
            </div>
            <div class="infobox infobox-red">
                <div class="infobox-data">
                    <span class="infobox-data-number" style="text-align: center">{{ $userData['monthCount'] }}</span>
                    <div class="infobox-content">本月新增创客</div>
                </div>
            </div>
        </div>
    </div>
@endsection
